package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UmsMemberLevelChangeHistory implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long memberId;

    @ApiModelProperty(value = "门店id")
    private Long storeId;

    @ApiModelProperty(value = "变动前会员等级id")
    private Long updateBeforeMemberLevelId;

    @ApiModelProperty(value = "变动后会员等级id")
    private Long updateAfterMemberLevelId;

    @ApiModelProperty(value = "创建时间/变动时间")
    private Date createTime;

    @ApiModelProperty(value = "会员开始时间")
    private Date memberStartTime;

    @ApiModelProperty(value = "变动前会员结束时间")
    private Date updateBeforeMemberEndTime;

    @ApiModelProperty(value = "变动后会员结束时间")
    private Date updateAfterMemberEndTime;

    @ApiModelProperty(value = "花费人民币价格")
    private BigDecimal moneyPrice;

    @ApiModelProperty(value = "花费积分价格")
    private Integer integrationPrice;

    @ApiModelProperty(value = "类型0积分兑换；1花钱买")
    private Integer buyType;

    @ApiModelProperty(value = "0开通会员；1续费会员")
    private Integer openType;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getUpdateBeforeMemberLevelId() {
        return updateBeforeMemberLevelId;
    }

    public void setUpdateBeforeMemberLevelId(Long updateBeforeMemberLevelId) {
        this.updateBeforeMemberLevelId = updateBeforeMemberLevelId;
    }

    public Long getUpdateAfterMemberLevelId() {
        return updateAfterMemberLevelId;
    }

    public void setUpdateAfterMemberLevelId(Long updateAfterMemberLevelId) {
        this.updateAfterMemberLevelId = updateAfterMemberLevelId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getMemberStartTime() {
        return memberStartTime;
    }

    public void setMemberStartTime(Date memberStartTime) {
        this.memberStartTime = memberStartTime;
    }

    public Date getUpdateBeforeMemberEndTime() {
        return updateBeforeMemberEndTime;
    }

    public void setUpdateBeforeMemberEndTime(Date updateBeforeMemberEndTime) {
        this.updateBeforeMemberEndTime = updateBeforeMemberEndTime;
    }

    public Date getUpdateAfterMemberEndTime() {
        return updateAfterMemberEndTime;
    }

    public void setUpdateAfterMemberEndTime(Date updateAfterMemberEndTime) {
        this.updateAfterMemberEndTime = updateAfterMemberEndTime;
    }

    public BigDecimal getMoneyPrice() {
        return moneyPrice;
    }

    public void setMoneyPrice(BigDecimal moneyPrice) {
        this.moneyPrice = moneyPrice;
    }

    public Integer getIntegrationPrice() {
        return integrationPrice;
    }

    public void setIntegrationPrice(Integer integrationPrice) {
        this.integrationPrice = integrationPrice;
    }

    public Integer getBuyType() {
        return buyType;
    }

    public void setBuyType(Integer buyType) {
        this.buyType = buyType;
    }

    public Integer getOpenType() {
        return openType;
    }

    public void setOpenType(Integer openType) {
        this.openType = openType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", storeId=").append(storeId);
        sb.append(", updateBeforeMemberLevelId=").append(updateBeforeMemberLevelId);
        sb.append(", updateAfterMemberLevelId=").append(updateAfterMemberLevelId);
        sb.append(", createTime=").append(createTime);
        sb.append(", memberStartTime=").append(memberStartTime);
        sb.append(", updateBeforeMemberEndTime=").append(updateBeforeMemberEndTime);
        sb.append(", updateAfterMemberEndTime=").append(updateAfterMemberEndTime);
        sb.append(", moneyPrice=").append(moneyPrice);
        sb.append(", integrationPrice=").append(integrationPrice);
        sb.append(", buyType=").append(buyType);
        sb.append(", openType=").append(openType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}